<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:p="http://primefaces.prime.com.tr/ui">
			<div id="header">
				<div id="logo">
					<img src="#{facesContext.externalContext.request.contextPath}/images/main_img.png" />
					<h1><a href="./">LocaNet</a></h1>
				</div>
				<div id="search" style="text-align:center">
					<h:form style="margin-bottom:10px;">
						<fieldset>
						<input type="text" name="busca" id="search-text" size="15" value="${ param.busca }"/>
						<h:commandButton id="search-submit" value="#{bundle['locanet.header.go']}" action="#{filmeBean.search}"/>
						</fieldset>
					</h:form>
					
					<h:form>
					<h:commandLink immediate="true" action="#{locationBean.setLocation}">
						<f:setPropertyActionListener value="pt" target="#{locationBean.location}"/>
						<img class="ico bandeira" src="#{facesContext.externalContext.request.contextPath}/images/ico_br.jpg" />
					</h:commandLink>
					<h:commandLink immediate="true" action="#{locationBean.setLocation}">
						<f:setPropertyActionListener value="de" target="#{locationBean.location}"/>
						<img class="ico bandeira" src="#{facesContext.externalContext.request.contextPath}/images/ico_de.jpeg" />
					</h:commandLink>
					<h:commandLink immediate="true" action="#{locationBean.setLocation}">
						<f:setPropertyActionListener value="en" target="#{locationBean.location}"/>
						<img class="ico bandeira" src="#{facesContext.externalContext.request.contextPath}/images/ico_en.gif" />
					</h:commandLink>
					<h:commandLink immediate="true" action="#{locationBean.setLocation}">
						<f:setPropertyActionListener value="es" target="#{locationBean.location}"/>
						<img class="ico bandeira" src="#{facesContext.externalContext.request.contextPath}/images/ico_es.jpg" />
					</h:commandLink>
					<h:commandLink immediate="true" action="#{locationBean.setLocation}">
						<f:setPropertyActionListener value="fr" target="#{locationBean.location}"/>
						<img class="ico bandeira" src="#{facesContext.externalContext.request.contextPath}/images/ico_fr.GIF" />
					</h:commandLink>
					</h:form>
				</div>
			</div>
			<!-- end #header -->
</html>